package com.castle.fortress.admin.study.exam.mapper;

import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.castle.fortress.admin.study.exam.entity.StudyQuestionbankEntity;
import java.util.Map;
import java.util.List;
/**
 * 题库管理Mapper 接口
 *
 * @author castle
 * @since 2023-02-09
 */
public interface StudyQuestionbankMapper extends BaseMapper<StudyQuestionbankEntity> {

    /**
    * 扩展信息列表
    * @param pageMap
    * @param studyQuestionbankEntity
    * @return
    */
    List<StudyQuestionbankEntity> extendsList(@Param("map")Map<String, Long> pageMap, @Param("studyQuestionbankEntity") StudyQuestionbankEntity studyQuestionbankEntity);

    /**
    * 扩展信息记录总数
    * @param studyQuestionbankEntity
    * @return
    */
    Long extendsCount(@Param("studyQuestionbankEntity") StudyQuestionbankEntity studyQuestionbankEntity);

    /**
    * 题库管理扩展详情
    * @param id 题库管理id
    * @return
    */
    StudyQuestionbankEntity getByIdExtends(@Param("id")Long id);



}
